package com.dt76.smallloanbackendservice.mapper.etao;

import com.dt76.smallloanbackendservice.pojo.etao.Employee;

import java.util.List;

public interface EmployeeMapper {

    List<Employee> getPageEmp(String empName, Integer deptId, Integer start, Integer size);

    Employee getEmpById(Integer eId);

    int getEmpCount(Integer dId,String empName);

    int saveEmp(Employee employee);

    int updateEmp(Employee employee);

    int updateEmpEnable(Integer eId, Integer updEmpEnable);

    int deleteEmp(Integer eId);

    Employee getEmpByLoginNmae(String empLoginName);

    List<Employee> getAllEmp();

}
